package com.neu.flashmall.ms.mapper;

import com.neu.flashmall.ms.entity.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 50286
* @description 针对表【sys_role】的数据库操作Mapper
* @createDate 2022-06-30 16:33:16
* @Entity com.neu.flashmallms.entity.SysRole
*/
@Mapper
public interface SysRoleMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysRole record);

    int insertSelective(SysRole record);

    SysRole selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysRole record);

    int updateByPrimaryKey(SysRole record);

    List<SysRole> selectAll();

    SysRole selectByName(String name);



}
